<!--
 * @Author: ૮₍ ˙О˙₎ა
 * @Date: 2023-07-15 15:33:47
-->
<template>
  <div>
    <el-card>
      <CategoryView />
    </el-card>
    <el-card class="cardTop">
      <SpuList v-show="showView === 1" />
      <SpuView v-show="showView === 2" />
      <SkuView v-show="showView === 3" />
    </el-card>
  </div>
</template>

<script lang="ts" setup>
import SpuList from './SpuList/index.vue'
import SpuView from './SpuView/index.vue'
import SkuView from './SkuView/index.vue'
import { ref } from 'vue'

const showView = ref(1)
</script>

<script lang="ts">
export default {
  name: 'SpuView'
}
</script>

<style lang="scss" scoped>
.cardTop {
  margin-top: 18px;
}
</style>
